package com.zle.dao.bean;

import org.springframework.boot.context.properties.ConfigurationProperties;
/**
 * 将配文件映射为bean
 */
import org.springframework.stereotype.Component;
@Component
@ConfigurationProperties(prefix="product")
public class Conf {
	
	private String name;
	
	private String version;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getVersion() {
		return version;
	}

	public void setVersion(String version) {
		this.version = version;
	}
	
}
